ns_ssl_certlink

Configuration for NetScaler SSL Certificate Link resource.

Read/write properties

certkey<String>

Certificate Name.

linkcertkeyname<String>

Certificate Name To Link.

ns_ip_address<String>

NetScaler IP Address.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

unlinklink

unlink

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_certlink?action=unlink&onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ns_ssl_certlink": {
      "linkcertkeyname":<String_value>,
      "ns_ip_address":<String_value>,
      "certkey":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_certlink":[{
      "certkey":<String_value>,
      "linkcertkeyname":<String_value>,
      "ns_ip_address":<String_value>}]}

link

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_certlink?action=link&onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ns_ssl_certlink": {
      "certkey":<String_value>,
      "linkcertkeyname":<String_value>,
      "ns_ip_address":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_certlink":[{
      "certkey":<String_value>,
      "linkcertkeyname":<String_value>,
      "ns_ip_address":<String_value>}]}